#ifndef DLG_BOOKGETANDSET_H
#define DLG_BOOKGETANDSET_H

#include <QDialog>
#include "lib/sqlmgr.h"
namespace Ui {
class Dlg_BookGetAndSet;
}

class Dlg_BookGetAndSet : public QDialog
{
    Q_OBJECT

public:
    explicit Dlg_BookGetAndSet(QWidget *parent = nullptr);
    ~Dlg_BookGetAndSet();

    void setType(bool isReturn, QString Bookname);
    void setBookId(int id);

private slots:
    void on_btn_get_clicked();

    void on_btn_cancel_clicked();

private:
    Ui::Dlg_BookGetAndSet *ui;
    int m_bookid;
    bool m_isReturn;
};

#endif // DLG_BOOKGETANDSET_H
